home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Include / include_h / pragmas / icon_pragmas.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-20  |  7.9 KB  |  221 lines

  1. #ifndef PRAGMAS_ICON_PRAGMAS_H
  2. #define PRAGMAS_ICON_PRAGMAS_H
  3.  
  4. /*
  5. **    $VER: icon_pragmas.h 44.17 (15.7.1999)
  6. **    Includes Release 44.1
  7. **
  8. **    Direct ROM interface (pragma) definitions.
  9. **
  10. **    Copyright © 1999 Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #if defined(LATTICE) || defined(__SASC) || defined(_DCC)
  15. #ifndef __CLIB_PRAGMA_LIBCALL
  16. #define __CLIB_PRAGMA_LIBCALL
  17. #endif /* __CLIB_PRAGMA_LIBCALL */
  18. #else /* __MAXON__, __STORM__ or AZTEC_C */
  19. #ifndef __CLIB_PRAGMA_AMICALL
  20. #define __CLIB_PRAGMA_AMICALL
  21. #endif /* __CLIB_PRAGMA_AMICALL */
  22. #endif /* */
  23.  
  24. #if defined(__SASC) || defined(__STORM__)
  25. #ifndef __CLIB_PRAGMA_TAGCALL
  26. #define __CLIB_PRAGMA_TAGCALL
  27. #endif /* __CLIB_PRAGMA_TAGCALL */
  28. #endif /* __MAXON__, __STORM__ or AZTEC_C */
  29.  
  30. #ifndef CLIB_ICON_PROTOS_H
  31. #include <clib/icon_protos.h>
  32. #endif /* CLIB_ICON_PROTOS_H */
  33.  
  34. #ifdef __CLIB_PRAGMA_LIBCALL
  35.  #pragma libcall IconBase FreeFreeList 36 801
  36. #endif /* __CLIB_PRAGMA_LIBCALL */
  37. #ifdef __CLIB_PRAGMA_AMICALL
  38.  #pragma amicall(IconBase, 0x36, FreeFreeList(a0))
  39. #endif /* __CLIB_PRAGMA_AMICALL */
  40. #ifdef __CLIB_PRAGMA_LIBCALL
  41.  #pragma libcall IconBase AddFreeList 48 A9803
  42. #endif /* __CLIB_PRAGMA_LIBCALL */
  43. #ifdef __CLIB_PRAGMA_AMICALL
  44.  #pragma amicall(IconBase, 0x48, AddFreeList(a0,a1,a2))
  45. #endif /* __CLIB_PRAGMA_AMICALL */
  46. #ifdef __CLIB_PRAGMA_LIBCALL
  47.  #pragma libcall IconBase GetDiskObject 4e 801
  48. #endif /* __CLIB_PRAGMA_LIBCALL */
  49. #ifdef __CLIB_PRAGMA_AMICALL
  50.  #pragma amicall(IconBase, 0x4e, GetDiskObject(a0))
  51. #endif /* __CLIB_PRAGMA_AMICALL */
  52. #ifdef __CLIB_PRAGMA_LIBCALL
  53.  #pragma libcall IconBase PutDiskObject 54 9802
  54. #endif /* __CLIB_PRAGMA_LIBCALL */
  55. #ifdef __CLIB_PRAGMA_AMICALL
  56.  #pragma amicall(IconBase, 0x54, PutDiskObject(a0,a1))
  57. #endif /* __CLIB_PRAGMA_AMICALL */
  58. #ifdef __CLIB_PRAGMA_LIBCALL
  59.  #pragma libcall IconBase FreeDiskObject 5a 801
  60. #endif /* __CLIB_PRAGMA_LIBCALL */
  61. #ifdef __CLIB_PRAGMA_AMICALL
  62.  #pragma amicall(IconBase, 0x5a, FreeDiskObject(a0))
  63. #endif /* __CLIB_PRAGMA_AMICALL */
  64. #ifdef __CLIB_PRAGMA_LIBCALL
  65.  #pragma libcall IconBase FindToolType 60 9802
  66. #endif /* __CLIB_PRAGMA_LIBCALL */
  67. #ifdef __CLIB_PRAGMA_AMICALL
  68.  #pragma amicall(IconBase, 0x60, FindToolType(a0,a1))
  69. #endif /* __CLIB_PRAGMA_AMICALL */
  70. #ifdef __CLIB_PRAGMA_LIBCALL
  71.  #pragma libcall IconBase MatchToolValue 66 9802
  72. #endif /* __CLIB_PRAGMA_LIBCALL */
  73. #ifdef __CLIB_PRAGMA_AMICALL
  74.  #pragma amicall(IconBase, 0x66, MatchToolValue(a0,a1))
  75. #endif /* __CLIB_PRAGMA_AMICALL */
  76. #ifdef __CLIB_PRAGMA_LIBCALL
  77.  #pragma libcall IconBase BumpRevision 6c 9802
  78. #endif /* __CLIB_PRAGMA_LIBCALL */
  79. #ifdef __CLIB_PRAGMA_AMICALL
  80.  #pragma amicall(IconBase, 0x6c, BumpRevision(a0,a1))
  81. #endif /* __CLIB_PRAGMA_AMICALL */
  82. /*--- functions in V36 or higher (Release 2.0) ---*/
  83. #ifdef __CLIB_PRAGMA_LIBCALL
  84.  #pragma libcall IconBase GetDefDiskObject 78 001
  85. #endif /* __CLIB_PRAGMA_LIBCALL */
  86. #ifdef __CLIB_PRAGMA_AMICALL
  87.  #pragma amicall(IconBase, 0x78, GetDefDiskObject(d0))
  88. #endif /* __CLIB_PRAGMA_AMICALL */
  89. #ifdef __CLIB_PRAGMA_LIBCALL
  90.  #pragma libcall IconBase PutDefDiskObject 7e 801
  91. #endif /* __CLIB_PRAGMA_LIBCALL */
  92. #ifdef __CLIB_PRAGMA_AMICALL
  93.  #pragma amicall(IconBase, 0x7e, PutDefDiskObject(a0))
  94. #endif /* __CLIB_PRAGMA_AMICALL */
  95. #ifdef __CLIB_PRAGMA_LIBCALL
  96.  #pragma libcall IconBase GetDiskObjectNew 84 801
  97. #endif /* __CLIB_PRAGMA_LIBCALL */
  98. #ifdef __CLIB_PRAGMA_AMICALL
  99.  #pragma amicall(IconBase, 0x84, GetDiskObjectNew(a0))
  100. #endif /* __CLIB_PRAGMA_AMICALL */
  101. /*--- functions in V37 or higher (Release 2.04) ---*/
  102. #ifdef __CLIB_PRAGMA_LIBCALL
  103.  #pragma libcall IconBase DeleteDiskObject 8a 801
  104. #endif /* __CLIB_PRAGMA_LIBCALL */
  105. #ifdef __CLIB_PRAGMA_AMICALL
  106.  #pragma amicall(IconBase, 0x8a, DeleteDiskObject(a0))
  107. #endif /* __CLIB_PRAGMA_AMICALL */
  108. /*--- functions in V44 or higher (Release 3.5) ---*/
  109. #ifdef __CLIB_PRAGMA_LIBCALL
  110.  #pragma libcall IconBase DupDiskObjectA 96 9802
  111. #endif /* __CLIB_PRAGMA_LIBCALL */
  112. #ifdef __CLIB_PRAGMA_AMICALL
  113.  #pragma amicall(IconBase, 0x96, DupDiskObjectA(a0,a1))
  114. #endif /* __CLIB_PRAGMA_AMICALL */
  115. #ifdef __CLIB_PRAGMA_TAGCALL
  116.  #ifdef __CLIB_PRAGMA_LIBCALL
  117.   #pragma tagcall IconBase DupDiskObject 96 9802
  118.  #endif /* __CLIB_PRAGMA_LIBCALL */
  119.  #ifdef __CLIB_PRAGMA_AMICALL
  120.   #pragma tagcall(IconBase, 0x96, DupDiskObject(a0,a1))
  121.  #endif /* __CLIB_PRAGMA_AMICALL */
  122. #endif /* __CLIB_PRAGMA_TAGCALL */
  123. #ifdef __CLIB_PRAGMA_LIBCALL
  124.  #pragma libcall IconBase IconControlA 9c 9802
  125. #endif /* __CLIB_PRAGMA_LIBCALL */
  126. #ifdef __CLIB_PRAGMA_AMICALL
  127.  #pragma amicall(IconBase, 0x9c, IconControlA(a0,a1))
  128. #endif /* __CLIB_PRAGMA_AMICALL */
  129. #ifdef __CLIB_PRAGMA_TAGCALL
  130.  #ifdef __CLIB_PRAGMA_LIBCALL
  131.   #pragma tagcall IconBase IconControl 9c 9802
  132.  #endif /* __CLIB_PRAGMA_LIBCALL */
  133.  #ifdef __CLIB_PRAGMA_AMICALL
  134.   #pragma tagcall(IconBase, 0x9c, IconControl(a0,a1))
  135.  #endif /* __CLIB_PRAGMA_AMICALL */
  136. #endif /* __CLIB_PRAGMA_TAGCALL */
  137. #ifdef __CLIB_PRAGMA_LIBCALL
  138.  #pragma libcall IconBase DrawIconStateA a2 B210A9807
  139. #endif /* __CLIB_PRAGMA_LIBCALL */
  140. #ifdef __CLIB_PRAGMA_AMICALL
  141.  #pragma amicall(IconBase, 0xa2, DrawIconStateA(a0,a1,a2,d0,d1,d2,a3))
  142. #endif /* __CLIB_PRAGMA_AMICALL */
  143. #ifdef __CLIB_PRAGMA_TAGCALL
  144.  #ifdef __CLIB_PRAGMA_LIBCALL
  145.   #pragma tagcall IconBase DrawIconState a2 B210A9807
  146.  #endif /* __CLIB_PRAGMA_LIBCALL */
  147.  #ifdef __CLIB_PRAGMA_AMICALL
  148.   #pragma tagcall(IconBase, 0xa2, DrawIconState(a0,a1,a2,d0,d1,d2,a3))
  149.  #endif /* __CLIB_PRAGMA_AMICALL */
  150. #endif /* __CLIB_PRAGMA_TAGCALL */
  151. #ifdef __CLIB_PRAGMA_LIBCALL
  152.  #pragma libcall IconBase GetIconRectangleA a8 CBA9805
  153. #endif /* __CLIB_PRAGMA_LIBCALL */
  154. #ifdef __CLIB_PRAGMA_AMICALL
  155.  #pragma amicall(IconBase, 0xa8, GetIconRectangleA(a0,a1,a2,a3,a4))
  156. #endif /* __CLIB_PRAGMA_AMICALL */
  157. #ifdef __CLIB_PRAGMA_TAGCALL
  158.  #ifdef __CLIB_PRAGMA_LIBCALL
  159.   #pragma tagcall IconBase GetIconRectangle a8 CBA9805
  160.  #endif /* __CLIB_PRAGMA_LIBCALL */
  161.  #ifdef __CLIB_PRAGMA_AMICALL
  162.   #pragma tagcall(IconBase, 0xa8, GetIconRectangle(a0,a1,a2,a3,a4))
  163.  #endif /* __CLIB_PRAGMA_AMICALL */
  164. #endif /* __CLIB_PRAGMA_TAGCALL */
  165. #ifdef __CLIB_PRAGMA_LIBCALL
  166.  #pragma libcall IconBase NewDiskObject ae 001
  167. #endif /* __CLIB_PRAGMA_LIBCALL */
  168. #ifdef __CLIB_PRAGMA_AMICALL
  169.  #pragma amicall(IconBase, 0xae, NewDiskObject(d0))
  170. #endif /* __CLIB_PRAGMA_AMICALL */
  171. #ifdef __CLIB_PRAGMA_LIBCALL
  172.  #pragma libcall IconBase GetIconTagList b4 9802
  173. #endif /* __CLIB_PRAGMA_LIBCALL */
  174. #ifdef __CLIB_PRAGMA_AMICALL
  175.  #pragma amicall(IconBase, 0xb4, GetIconTagList(a0,a1))
  176. #endif /* __CLIB_PRAGMA_AMICALL */
  177. #ifdef __CLIB_PRAGMA_TAGCALL
  178.  #ifdef __CLIB_PRAGMA_LIBCALL
  179.   #pragma tagcall IconBase GetIconTags b4 9802
  180.  #endif /* __CLIB_PRAGMA_LIBCALL */
  181.  #ifdef __CLIB_PRAGMA_AMICALL
  182.   #pragma tagcall(IconBase, 0xb4, GetIconTags(a0,a1))
  183.  #endif /* __CLIB_PRAGMA_AMICALL */
  184. #endif /* __CLIB_PRAGMA_TAGCALL */
  185. #ifdef __CLIB_PRAGMA_LIBCALL
  186.  #pragma libcall IconBase PutIconTagList ba A9803
  187. #endif /* __CLIB_PRAGMA_LIBCALL */
  188. #ifdef __CLIB_PRAGMA_AMICALL
  189.  #pragma amicall(IconBase, 0xba, PutIconTagList(a0,a1,a2))
  190. #endif /* __CLIB_PRAGMA_AMICALL */
  191. #ifdef __CLIB_PRAGMA_TAGCALL
  192.  #ifdef __CLIB_PRAGMA_LIBCALL
  193.   #pragma tagcall IconBase PutIconTags ba A9803
  194.  #endif /* __CLIB_PRAGMA_LIBCALL */
  195.  #ifdef __CLIB_PRAGMA_AMICALL
  196.   #pragma tagcall(IconBase, 0xba, PutIconTags(a0,a1,a2))
  197.  #endif /* __CLIB_PRAGMA_AMICALL */
  198. #endif /* __CLIB_PRAGMA_TAGCALL */
  199. #ifdef __CLIB_PRAGMA_LIBCALL
  200.  #pragma libcall IconBase LayoutIconA c0 A9803
  201. #endif /* __CLIB_PRAGMA_LIBCALL */
  202. #ifdef __CLIB_PRAGMA_AMICALL
  203.  #pragma amicall(IconBase, 0xc0, LayoutIconA(a0,a1,a2))
  204. #endif /* __CLIB_PRAGMA_AMICALL */
  205. #ifdef __CLIB_PRAGMA_TAGCALL
  206.  #ifdef __CLIB_PRAGMA_LIBCALL
  207.   #pragma tagcall IconBase LayoutIcon c0 A9803
  208.  #endif /* __CLIB_PRAGMA_LIBCALL */
  209.  #ifdef __CLIB_PRAGMA_AMICALL
  210.   #pragma tagcall(IconBase, 0xc0, LayoutIcon(a0,a1,a2))
  211.  #endif /* __CLIB_PRAGMA_AMICALL */
  212. #endif /* __CLIB_PRAGMA_TAGCALL */
  213. #ifdef __CLIB_PRAGMA_LIBCALL
  214.  #pragma libcall IconBase ChangeToSelectedIconColor c6 801
  215. #endif /* __CLIB_PRAGMA_LIBCALL */
  216. #ifdef __CLIB_PRAGMA_AMICALL
  217.  #pragma amicall(IconBase, 0xc6, ChangeToSelectedIconColor(a0))
  218. #endif /* __CLIB_PRAGMA_AMICALL */
  219.  
  220. #endif /* PRAGMAS_ICON_PRAGMAS_H */
  221.